{% extends "blogs/base.html" %}

{% block content %}

  <h2>Edit blog:</h2>

  <form action="{% url 'blogs:edit_blog' blog.id %}" method="post">
    {% csrf_token %}
    {{ form.as_p }}
    <button name="submit">Save blog</button>
  </form>
  
{% endblock %}